package com.hzeport.bgs22emduty.inbound.api;


import com.hzeport.bgs22emduty.service.BaseDeptInfoService;
import com.hzeport.bgs22emduty.service.ParamDutyService;
import com.hzeport.bgs22emduty.service.SystemModuleService;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author gzd
 * @since 2022-09-29
 */
@RestController
@AllArgsConstructor
@Api(value = "systemModule", tags = "菜单管理")
@Slf4j
@RequestMapping("/systemModule")
public class SystemModuleController {

    @Resource
    private SystemModuleService systemModuleService;

    @ApiOperation(value = "菜单", notes = "菜单")
    @GetMapping("/systemModule")
    public BaseResult systemModule()  {
        return BaseResult.ok(systemModuleService.systemModule());
    }
}

